import { Routes, RouterModule }  from '@angular/router';
import {RecordComponent} from "./record.component";
import {RecordDetailComponent} from "./record-detail/record-detail.component";

const routes:Routes = [
  { path: '', component: RecordComponent },
  { path: 'recorddetail/:recordId', component:RecordDetailComponent}
];

export const RecordRoute = RouterModule.forChild(routes);
